<template>
  <img
      class="user-avatar"
      src="@/assets/images/user.png"
      alt="用户头像"
  />
</template>

<style scoped>
.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #eee;
}
</style>